export const choosePath = (mark: string) => {
	return new Promise((resolve) => {
		resolve(window.$.sendSync('GENERAL-CHOOSE-DIR-PATH', { mark }));
	});
};

export const getPrinterList = () => {
	return new Promise((resolve) => {
		resolve(window.$.sendSync('GET-PRINTERS'));
	});
}
